package commandPattern;

public class Main {
    public static void main(String[] args) {
        new Invoker(new LightOnCommand(new Light())).executeCommand();
        new Invoker(new LightCloseCommand(new Light())).executeCommand();
    }
}
